@echo off

set file_dir=venv\Scripts\

set python_file=%file_dir%python.exe
set pip_file=%file_dir%pip.exe

if exist "%file_dir%" (
    echo [*] venv is created
) else (
    echo [*] venv creating
    python -m venv venv
)

echo [*] installing requirements
%python_file% %pip_file% install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
%python_file% %pip_file% list
echo [*] start...
%python_file% start.py




